package com.sgl.gk.mapper;


import com.sgl.gk.domain.GkSignalCommunication;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GkSignalCommunicationMapper {
    List<GkSignalCommunication> list(GkSignalCommunication gkSignalCommunication);

    int add(GkSignalCommunication gkSignalCommunication);

    int edit(GkSignalCommunication gkSignalCommunication);

    int removeByIds(Long[] ids);

    List<GkSignalCommunication> selectInfoByIds(List<Long> signalCommunicationIds);

    int editList(List<GkSignalCommunication> gkSignalCommunications);

    GkSignalCommunication selectInfoByCommunicationProtocol(@Param("communicationProtocol") String communicationProtocol);
}
